<?php

require_once dirname(__FILE__).'/../bootstrap/unit.php';

$test = new lime_test();

$configuration = ProjectConfiguration::getApplicationConfiguration('redsea20', 'prod', true);

$databaseManager = new sfDatabaseManager($configuration);
$databaseManager->initialize();

$oddTable = ObservationdepthTable::getInstance();

echo 'starting..';

$result = $oddTable->findOneBeforeOrAfter(244, 1);
$test->ok(isset($result), 'passed');

echo 'finish..';
?>
